<#include "/layout/easyuilayout.ftl"/>

<@htmlHead > 
	<script type="text/javascript" src="${webinfo.basePath}/MgrScript/sysmgr/easyuicreate/js/index.js"></script>
</@htmlHead>  
<@htmlBody>
 



<div id="EasyUICreate_Toolbar">    
   <input id="EasyUICreate_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:fun_EasyUICreateSearchbox,prompt:'请输入关键字...',menu:'#EasyUICreate_mm'"></input>           
    <div id="EasyUICreate_mm" style="width:120px">  
        <div data-options="name:'TABLE_NAME',iconCls:'sealist'">表名</div> 
    </div>   
    
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="fun_ReloadEasyUICreateList()">刷新</a>
 


   </div> 
   
<div data-options="region:'west',title:'',split:true" style="width:380px;">
 <table id="EasyUICreate_Grid"> </table> 
</div>  
<div data-options="region:'center',title:'快速生成',split:true,border:false" style=" " >
    
 <div  class="easyui-layout" data-options="fit: true" >  
    <div data-options="region:'north',title:'',split:false" style="height:130px;">
    <form  id="EasyUICreate_EditForm_fm"  method="post"  >  

        <div class="fitem"  style="width:99%">  
            <label>包名 : </label>  
            <input name="PACKAGE" style="width:60%" class="easyui-validatebox" value="sysmgr" data-options="required:true"     />
        </div>
        <div class="fitem" style="width:99%">
            <label>表名 : </label>
            <input name="TABLE_NAME"  style="width:60%" class="easyui-validatebox" value="" data-options="required:true"     />
        </div>
    </form>
    <div class="fitem"  style="width:99%" > 
    	<label>文件 : </label>   
    	<select id="htmlmodel" class="easyui-combobox" name="htmlmodel" style="width:200px;">  
		    <option value="ftl">.ftl</option>  
		    <option value="js">.js</option>  
		    <option value="controller">.*Controller.java</option>  
		    <option value="service">.*service.java</option>
		</select> 
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="viewCreate()">查看</a>
        
    </div> 
    
    </div> 
    
    <div data-options="region:'center',title:''" style="padding:5px;background:#eee;"> 
	    <iframe id="viewiframe" scrolling="no" frameborder="0"  src="" style="width:100%;height:100% ; overflow:hidden">
	    </iframe> 
    </div>  
      
    <div data-options="region:'south',title:'',split:false" style="height:50px;">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="fun_SaveEasyUICreate()">确认生成</a>
    
    </div>  
   </div>
    
   
   
</div> 


 
</@htmlBody>